package com.capgemini.scaffold.service;

import com.capgemini.scaffold.model.ProjectInfo;
import com.capgemini.scaffold.model.ProjectMember;
import com.baomidou.mybatisplus.extension.service.IService;
import com.capgemini.scaffold.model.ProjectSchedule;
import com.capgemini.scaffold.model.request.ProjectQueryReq;
import com.capgemini.scaffold.model.request.ProjectReq;

import java.util.List;

/**
* @author llf
* @description 针对表【project_schedule(项目进度表)】的数据库操作Service
* @createDate 2022-10-18 16:15:02
*/
public interface ProjectService extends IService<ProjectInfo> {
    /**
     * 查询项目信息列表
     * @param projectQueryReq
     * @return
     */
    List<ProjectInfo> queryProject(ProjectQueryReq projectQueryReq);

    /**
     * 添加项目信息
     * @param
     * @return
     */
     ProjectReq addProject(ProjectReq projectReq);

    /**
     * 删除项目
     * @param projectId
     * @return
     */
     boolean deleteProject(Integer projectId);

    /**
     * 获取ProjectInfo列表
     * @return
     */
    List<ProjectInfo> getProjectInfo();

    /**
     * 获取ProjectMember列表
     * @return
     */
    List<ProjectMember> getProjectMember();

    /**
     * 获取ProjectProjectSchedule列表
     * @return
     */
    List<ProjectSchedule> getProjectSchedule();
}
